Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve geometry handling in search queries #214

Merged
merged 9 commits into from
Sep 9, 2024

Conversation

johntruckenbrodt
Copy link
Member

@johntruckenbrodt johntruckenbrodt commented Jul 23, 2024

This improves several aspects of scene search using spatial geometries:

  • scene_select: combine all Polygon geometries into a single MultiPolygon and execute only one search query (instead of one for each polygon); this may drastically reduce search time for large AOIs
  • STACArchive.select: search using the actual geometry of vectorobject and not its bounding box (in line with johntruckenbrodt/pyroSAR#296)
  • introduce checks to the search methods (STACArchive.select, asf_select, ASFArchive.select) to only allow single-feature Vector objects (in line with johntruckenbrodt/pyroSAR#316))

@johntruckenbrodt johntruckenbrodt merged commit 0abc5ec into main Sep 9, 2024
1 check passed
@johntruckenbrodt johntruckenbrodt deleted the feature/search_multipolygon branch September 9, 2024 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

increase scene search efficiency by combining geometries into one query scene search geometry refinement
1 participant